Linux USB HID Device


Posted by Jerome on 2021-11-30

USB Descriptor

  1. Device Descriptor
  2. Configuration Descriptor
  3. Interface Descriptor -> HID Descriptor -> Report and Physical Descriptor
  4. Endpoint Descriptor

Report Descriptor

  1. Data format

    Usage Page
    Usage
    Collection
    ...
    End Collection
    
  2. Report type
    Input report: For standard defined data.
    Output report: Not suggest to use, some old OS systems do not support this report type.
    Feature report: For self-defined data.


#linux #usb #hid #Report Descriptor







Related Posts

簡明 SQL 資料庫語法入門教學

簡明 SQL 資料庫語法入門教學

筆記:所有的函式都是閉包:談 JS 中的作用域與 Closure

筆記:所有的函式都是閉包:談 JS 中的作用域與 Closure

[Html]如何將Svg圖檔放到信件中(Outlook)

[Html]如何將Svg圖檔放到信件中(Outlook)


Comments